package com.hzmg.akkacloud.common;

/**
 * RemoteConstant
 *
 * @author zbw
 * @date 2022/6/27
 */
public class RemoteConstant {

    /* ************************ ALL ******************************* */
    public static final String SERVER_ACTOR_SYSTEM_NAME = "akka-server";
    /* ************************ CLIENT ************************ */
    public static final int DEFAULT_WORKER_PORT = 27777;

    public static final String WORKER_ACTOR_SYSTEM_NAME = "akka-worker";

    public static final String TASK_TRACKER_ACTOR_NAME = "task_tracker";
    public static final String PROCESSOR_TRACKER_ACTOR_NAME = "processor_tracker";
    public static final String WORKER_ACTOR_NAME = "worker";
    public static final String TROUBLESHOOTING_ACTOR_NAME = "troubleshooting";
    public static final String ROUTER_CREATER_ACTOR_NAME = "router_create";
    public static final String WORKER_AKKA_CONFIG_NAME = "akkacloud-worker.akka.conf";


    /* ************************ REGISTRY ************************ */
    public static final String SERVER_ACTOR_NAME = "server_actor";
    public static final String SERVER_RECEIVE_HEARTBEAT_ACTOR_NAME = "receive_heartbeat";
    public static final String SERVER_FRIEND_ACTOR_NAME = "friend_actor";
    public static final String SERVER_AKKA_CONFIG_NAME = "akkacloud-server.akka.conf";
    public static final String SERVER_CONSOLE_ROLE = "console";
    public static final String SERVER_HEART_HEALTHY_HANDLE = "heart_healthy_handle_actor";
    public static final String HEARTBEAT_TOPIC = "client_heart";

    /* ************************ OTHERS ************************ */
    public static final String EMPTY_ADDRESS = "N/A";
    public static final long DEFAULT_TIMEOUT_MS = 10000;
}
